package cn.iune.erp.invoice;

import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface IOtherTypeDao {
	
	public void insert(OtherType obj);
	
	public void delete(String fID);
	
	public OtherType update(OtherType obj);

	public OtherType getByID(String fID);

	public List<OtherType> getAll();
	
	List<OtherType> getAll(String enterpriseNo);


	List<OtherType> queryListJDBC(JSONObject data) throws Throwable;

	JSONObject query(JSONObject data) throws SQLException;

	JSONObject create(JSONObject data);

}
